package com.yoyosys;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.netflix.discovery.converters.Auto;
import com.yoyosys.entity.SysMenu;
import com.yoyosys.service.MenuService;

/**
 * @Description: TODO
 * @ClassName: TestController
 * @author: knight
 * @date: 2018年3月8日 下午6:04:12
 */
@RestController
public class TestController {

	@Autowired
	private MenuService menuService;

	@RequestMapping("/")
	public SysMenu test() {
		SysMenu menu = menuService.selectByPrimaryKey("1");
		return menu;
	}

}
